C# Mine
ContentsIndexHome
PreviousUpNext
Gateway.Gateway Constructor (uint, eGatewayType, string, string, string, int, byte[], byte[], byte[])

Presets these properties 

GatewayType GatewayFirmwareVersion RadioFirmwareVersion Host Port PreSharedEncryptionKey 

Sets all other properties to default values

Syntax
C#
public Gateway(uint gatewayID, eGatewayType gatewayType, string gatewayFirmwareVersion, string radioFirmwareVersion, string hostAddress, int port, byte[] preSharedEncryptionKey, byte[] encryptionKey, byte[] encryptionIV);
Parameters 
Description 
uint gatewayID 
Numerical identifier of the gateway. 
eGatewayType gatewayType 
Type of gateway. 
string gatewayFirmwareVersion 
Gateway firmware version. 
string radioFirmwareVersion 
Radio firmware version. 
string hostAddress 
IP Address or DNS resolvable host name address the gateway uses to communicate to the server. 
int port 
Port the gateway will use to communicate to the server. 
byte[] preSharedEncryptionKey 
Static pre-shared key for initializing encryption handshake 
byte[] encryptionKey 
Encryption key generated during handshake, if server is restarted or multiple server instances are configured this key needs to match across all instances or the gateway will have to re initialize its security handshake 
byte[] encryptionIV 
Initialization vector generated during handshake, if server is restarted or multiple server instances are configured this key needs to match across all instances or the gateway will have to re initialize its security handshake 
Copyright (c) 2017. All rights reserved.
What do you think about this topic? Send feedback!